package com.chancingpack.service;

import com.chancingpack.bean.WxReceiptEvaluateBean;
import com.chancingpack.dal.model.WxReceiptEvaluate;
import com.chancingpack.dal.model.WxSendMessage;
import com.chancingpack.util.CommonPage;
import com.chancingpack.util.CommonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * Created by lenovo on 2017/7/18.
 */
public interface ReceiptEvaluateService {

    /**
     * 录入收货及时率信息数据
     * @param wxReceiptEvaluateBean
     * @return
     */
    //boolean insertReceiptEvaluate(WxReceiptEvaluateBean wxReceiptEvaluateBean);
    CommonResult insertReceiptEvaluate(WxReceiptEvaluateBean wxReceiptEvaluateBean);

    List<Map<String,Object>> selectcustName();

    CommonResult selectDetailIdByCustId(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);
    //Map<String,Object> selectBydetailId(int detailId);
    List<Map<String,Object>> selectReceiptEvaluate( Integer detailId);
}
